// 获取最终的状态信息
export const getuname = state =>{
    if(!state.account){
      state.account = JSON.parse(localStorage.getItem('userInfo'))
    }
    return state.account
  }